using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;
namespace DataAccess
{
    /// <summary>
    /// A custom serializable dataset containing SIG_ACCION information.
    /// </summary>
    [Serializable]
    [DesignerCategory("code")]
    public class SigEjeAccionZonaGeograficaData : DataTable
    {
        ///
        /// Constants for table and fields mapping
        ///
        public const String SIG_EJE_ACCION_ZONAGEOGRAFICA_TABLE = "SIG_EJE_ACCION_ZONAGEOGRAFICA";
        public const String ACC_ID_FIELD = "ACC_ID";
        public const String ZON_ID_FIELD = "ZON_ID";
        public const String RES_ID_FIELD = "RES_ID";
        public const String EAZ_FECHA_FIELD = "EAZ_FECHA";
        public const String EAZ_ESPECIFICA_FIELD = "EAZ_ESPECIFICA";
        public const String EAZ_OTRAS_FIELD = "EAZ_OTRAS";
        public const String PLN_NOMBRE_FIELD = "PLN_NOMBRE";
        public const String DEP_NOMBRE_FIELD = "DEP_NOMBRE";
        public const String EJECUTADO_FIELD = "EJECUTADO";
        public const String TOTAL_FIELD = "TOTAL";
        
        

        public SigEjeAccionZonaGeograficaData()
		{
			BuildDataTables();
		}
        protected SigEjeAccionZonaGeograficaData(SerializationInfo info, StreamingContext context)
		{
			//
		}
        /// <summary>
		/// 
		/// </summary>
		private void BuildDataTables()
		{
            Columns.Add(ACC_ID_FIELD, typeof(Decimal));
            Columns.Add(ZON_ID_FIELD, typeof(Decimal));
            Columns.Add(RES_ID_FIELD, typeof(Decimal));
            Columns.Add(EAZ_FECHA_FIELD, typeof(String));
            Columns.Add(EAZ_ESPECIFICA_FIELD, typeof(Decimal));
            Columns.Add(EAZ_OTRAS_FIELD, typeof(Decimal));
            Columns.Add(PLN_NOMBRE_FIELD, typeof(String));
            Columns.Add(DEP_NOMBRE_FIELD, typeof(String));
            Columns.Add(EJECUTADO_FIELD, typeof(String));
            Columns.Add(TOTAL_FIELD, typeof(Decimal));
            
            TableName = SIG_EJE_ACCION_ZONAGEOGRAFICA_TABLE;
		}

        /// <summary>
        /// 
        /// </summary>
        /// <param name="row"></param>
        public void Add(DataRow row)
        {
            Rows.Add(row);
        }
    }
}
